package com.tcc.fastline.Fragments;

import com.tcc.fastline.SessionManager;
import com.tcc.smartqueue.R;

import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class RelatorioEstabelecimentoFragment extends ConteudoFragment {

	private View _view;
	private Context context;
	
	SessionManager session;
	
	@Override
	public ConteudoFragment newInstance() {
		RelatorioEstabelecimentoFragment newFragment = new RelatorioEstabelecimentoFragment();

		Bundle argumentsBundle = new Bundle();

		newFragment.setArguments(argumentsBundle);

		return newFragment;
	}

	@Override
	public ConteudoFragment newInstance(Bundle argumentsBundle) {
		return newInstance();
	}
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {

		View rootView = inflater.inflate(R.layout.relatorio_estabelecimento, null);

		context = rootView.getContext();

		_view = rootView.findViewById(R.id.relatorio_estabelecimento_fragment);

		session = new SessionManager(context);
		session.checkLogin();
		
		return rootView;
	}
}
